package com.xucia.jsponic.security;

import java.security.Principal;

import javax.security.auth.login.LoginException;

public class DefaultSecurity implements SecurityHandler {
	public Principal authenticate(String username, String password)
			throws LoginException {
		return User.authenticate(username, password);
	}
	public java.security.acl.Group getSupervisorGroup() {
		return User.getSupervisorGroup();
	}
	public Principal getPublicUser() {
		return User.PUBLIC_USER;
	}
}
